<?php
  include_once('Chauffage.class.php');
  include_once('Arrosage.class.php');
  include_once('Eclairage.class.php');
  include_once('Stores.class.php');
?>

<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
	<h2>Connecté au serveur foyer !</h2>
	<?php
	  $chauffage = new Chauffage(rand(0,10000), 'Salle de bain');
	  $eclairage = new Eclairage(rand(0,10000), 'Salon');
	  $stores = new Stores(rand(0,10000), 'Cuisine', 200);
	  $arrosage = new Arrosage(rand(0,10000), 'Jardin')
	  
	?>
</body>
</html>
